const {startTask, realCornExecSingle} = require("./corn/stepCorn");
const moment = require("moment/moment");


console.log("Hello World begin");
startTask();
// cross-env NODE_ENV=production
const now = new Date();
const hours = String(now.getHours()).padStart(2, '0');
const minutes = String(now.getMinutes()).padStart(2, '0');
console.log("当前时间:", hours, minutes);
//
// // 打印日期和时间
// console.log(`------- [${moment().format('YYYY-MM-DD HH:mm:ss')}] ------- 定时任务启动 -------`);
// for (let i = 0; i < 1; i++) {
//     realCornExecSingle(i, hours, minutes,true);
// }
console.log("Hello World end");
